<div ng-include="'/modules/template/header.html'"></div>  
<div class="weizhi">
	<div class="container">
    	<div class="row">
        	<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_weizhi">
            	当前位置->><a href="" ui-sref="main">首页</a>->><a href="" ng-bind="title"></a>
            </div>
        </div>
    </div>
</div>

<div class="t_main tt_main">
	<div class="container">
    	<div class="row">
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding: 0;">
				<div ng-include="'/modules/template/member_center_menu.html'"></div>  
				<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12 tt_form_box">
					<div class="ttbox" style="padding-bottom: 20px;">
						<div class="ttb-top">
							<div class="tt_title"><span>所有商品</span></div>
						</div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sc_list"  ng-repeat="cart in cartList.list"  id="checkBody">
							<div class="sc-box">
								<div class="sc_left">
									<div class="sc_check"  id="checkIcon_{{cart.id}}"  ng-click="itemSelected(cart)"><input id="box_checkIcon_{{cart.id}}"  type="checkbox" class="oneselect" ng-click="toggleCheckBox(cart.id)" value="{{cart.id}}"></div>
									<div class="sc_img"><img src="/temp/images/11130f096dbec743756b69cbb22f9.jpg"></div>
								</div>
								<div class="sc_right">
									<div class="sc-mn">
										<div class="food1 col-lg-5 col-md-5">
											<div ng-bind="cart.standard_code"></div>
											<div style="margin-bottom: 5px;" class="overline2" ng-bind="cart.standard_name" ></div>
										</div>
										<div class="food2 col-lg-3 col-md-3 col-sm-6 col-xs-8" >单价：<span class="jiaqian" >{{cart.count*cart.price}}</span></div>
										<div class="food3 col-lg-4 col-md-4 col-sm-6 col-xs-4">
											<div class="add">
												<button type="button" class="jian"  id="minusnum{{cart}}" ng-click="minus(cart)"></button>
												<span  class="num" ng-bind="cart.count" ></span>
												<button type="button" class="jia" id="plusnum{{cart}}" ng-click="plus(cart)"></button>
											</div>
											<!-- <div style="float:left;padding-left:5px">小计：<span class="jiaqian" >{{cart.price*cart.count}}</span></div> -->
											<a href="" class="dele" ng-click="del(cart.id)">删除</a>
										</div>
										<div class="clearfix"></div>
									</div>
								</div>
								<div class="clearfix"></div>
							</div>
						</div>
						<div class="gwc0_null" ng-if="!cartList.list || cartList.list.length == 0">
	                            <img src="/temp/images/gwc_null.png">
	                            <p>购物车还是空的哦</p>
	                            <button ui-sref="main">去逛逛</button>
	                     </div>
		                 <div ng-hide="!cartList.list || cartList.list.length == 0">
						 	<pager page-count="pageCount" current-page="currentPage" total-row="totalRow" on-page-change="onPageChange()" ></pager>
						</div>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sc_button gw_button" id="checkHead">
							<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 sc_b0"   ng-click="allSelected()">
								<input id="checkAll" type="checkbox" class="all"  ng-click="toggleCheckBox()"><span >全选</span>
								<a href="" style="font-size: 16px; padding-left: 10px;" ng-click="deleteAll()">删除</a>
							</div>
							<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 gw_b0">
								<span>已选商品<b>{{number}}</b>件，合计（不含运费）：￥<a >{{total}}</a></span>
								<button class="js" ng-click="goShop()">结算</button>
							</div>
							
						</div>
					
						<div class="clearfix"></div>
					</div>
				</div>
				
				
			</div>
            
        </div>
    </div>
</div>

